//
//  LayoutCollectionView.m
//  网易新闻
//
//  Created by 朱彦名 on 16/4/8.
//  Copyright © 2016年 朱彦名. All rights reserved.
//

#import "LayoutCollectionView.h"
#import "CollectionViewOfNews.h"

@implementation LayoutCollectionView
- (instancetype)init{
    self = [super init];
    if (self) {
        self.itemSize = CGSizeMake([UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height );
        self.sectionInset = UIEdgeInsetsMake(10, 10, 10, 10);
        self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    }
    return self;

}
@end
